Units Information
The collection item ID for units information is defined in the following enumeration:
enum { gxUnitsTag = 'unit' };QuickDraw GX stores units information in the gxUnitsInfo structure:
struct gxUnitsInfo { char units; } ;QuickDraw GX defines paper-type object units in the following enumeration:
Field Description
units
- A character that contains the units for a paper-type object. Units can be specified in picas, millimeters, and inches.
enum { gxPicas = (char) 0, gxMms = (char) 1, gxInches = (char) 2 };Constant descriptions
gxPicas
- If set, QuickDraw GX uses picas to define paper-type object units.
gxMms
- If set, QuickDraw GX uses millimeters to define paper-type object units.
gxInches
- If set, QuickDraw GX uses inches to define paper-type object units.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help